<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/11/9
  Time: 14:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
    <base href="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}">
    <title>查询车票价格</title>
</head>
<body>
    <h3>查询车票价格</h3>
    <c:if test="${ not empty msg}">
       <div style="color: red">${msg}</div>
    </c:if>
    <form action="stationservlet/query" method="post">
        车次：<input type="text" placeholder="请输入车次" name="stationNum"><br>
        出发点：<input type="text" placeholder="请输入出发点" name="startStation"><br>
        目的地：<input type="text" placeholder="请输入目的地" name="endStation"><br>
        <button type="submit" >查询</button>
    </form>
</body>
</html>
